package com.design.chain;

/**
 * @ClassName Client.java
 * @Description 
 * @author Jon
 * @date 2018年6月18日 下午2:55:55
 */
public class Client {
	public static void main(String[] args) {
		Handler handler1 = new ConcreteHandler1();
		Handler handler2 = new ConcreteHandler2();
		handler1.setNext(handler2);
		Response response = handler1.handleMessage(new Request());
	}
}
